﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000387 RID: 903
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DCMCLLPDDJO : IMessage<DCMCLLPDDJO>, IMessage, IEquatable<DCMCLLPDDJO>, IDeepCloneable<DCMCLLPDDJO>, IBufferMessage
	{
		// Token: 0x17000BA5 RID: 2981
		// (get) Token: 0x0600287F RID: 10367 RVA: 0x00070BA1 File Offset: 0x0006EDA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DCMCLLPDDJO> Parser
		{
			get
			{
				return DCMCLLPDDJO._parser;
			}
		}

		// Token: 0x17000BA6 RID: 2982
		// (get) Token: 0x06002880 RID: 10368 RVA: 0x00070BA8 File Offset: 0x0006EDA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DCMCLLPDDJOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000BA7 RID: 2983
		// (get) Token: 0x06002881 RID: 10369 RVA: 0x00070BBA File Offset: 0x0006EDBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DCMCLLPDDJO.Descriptor;
			}
		}

		// Token: 0x06002882 RID: 10370 RVA: 0x00070BC1 File Offset: 0x0006EDC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DCMCLLPDDJO()
		{
		}

		// Token: 0x06002883 RID: 10371 RVA: 0x00070BC9 File Offset: 0x0006EDC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DCMCLLPDDJO(DCMCLLPDDJO other) : this()
		{
			this.state_ = other.state_;
			this.aGIENGEKNKL_ = other.aGIENGEKNKL_;
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002884 RID: 10372 RVA: 0x00070C06 File Offset: 0x0006EE06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DCMCLLPDDJO Clone()
		{
			return new DCMCLLPDDJO(this);
		}

		// Token: 0x17000BA8 RID: 2984
		// (get) Token: 0x06002885 RID: 10373 RVA: 0x00070C0E File Offset: 0x0006EE0E
		// (set) Token: 0x06002886 RID: 10374 RVA: 0x00070C16 File Offset: 0x0006EE16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyEventState State
		{
			get
			{
				return this.state_;
			}
			set
			{
				this.state_ = value;
			}
		}

		// Token: 0x17000BA9 RID: 2985
		// (get) Token: 0x06002887 RID: 10375 RVA: 0x00070C1F File Offset: 0x0006EE1F
		// (set) Token: 0x06002888 RID: 10376 RVA: 0x00070C27 File Offset: 0x0006EE27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AGIENGEKNKL
		{
			get
			{
				return this.aGIENGEKNKL_;
			}
			set
			{
				this.aGIENGEKNKL_ = value;
			}
		}

		// Token: 0x17000BAA RID: 2986
		// (get) Token: 0x06002889 RID: 10377 RVA: 0x00070C30 File Offset: 0x0006EE30
		// (set) Token: 0x0600288A RID: 10378 RVA: 0x00070C38 File Offset: 0x0006EE38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600288B RID: 10379 RVA: 0x00070C41 File Offset: 0x0006EE41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DCMCLLPDDJO);
		}

		// Token: 0x0600288C RID: 10380 RVA: 0x00070C50 File Offset: 0x0006EE50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DCMCLLPDDJO other)
		{
			return other != null && (other == this || (this.State == other.State && this.AGIENGEKNKL == other.AGIENGEKNKL && this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600288D RID: 10381 RVA: 0x00070CAC File Offset: 0x0006EEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.State != AlleyEventState.AlleyStateNone)
			{
				num ^= this.State.GetHashCode();
			}
			if (this.AGIENGEKNKL != 0U)
			{
				num ^= this.AGIENGEKNKL.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600288E RID: 10382 RVA: 0x00070D23 File Offset: 0x0006EF23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600288F RID: 10383 RVA: 0x00070D2B File Offset: 0x0006EF2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002890 RID: 10384 RVA: 0x00070D34 File Offset: 0x0006EF34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AGIENGEKNKL != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AGIENGEKNKL);
			}
			if (this.State != AlleyEventState.AlleyStateNone)
			{
				output.WriteRawTag(80);
				output.WriteEnum((int)this.State);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002891 RID: 10385 RVA: 0x00070DA8 File Offset: 0x0006EFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.State != AlleyEventState.AlleyStateNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.State);
			}
			if (this.AGIENGEKNKL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AGIENGEKNKL);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002892 RID: 10386 RVA: 0x00070E18 File Offset: 0x0006F018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DCMCLLPDDJO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.State != AlleyEventState.AlleyStateNone)
			{
				this.State = other.State;
			}
			if (other.AGIENGEKNKL != 0U)
			{
				this.AGIENGEKNKL = other.AGIENGEKNKL;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002893 RID: 10387 RVA: 0x00070E7C File Offset: 0x0006F07C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002894 RID: 10388 RVA: 0x00070E88 File Offset: 0x0006F088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 80U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EventId = input.ReadUInt32();
						}
					}
					else
					{
						this.State = (AlleyEventState)input.ReadEnum();
					}
				}
				else
				{
					this.AGIENGEKNKL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400101C RID: 4124
		private static readonly MessageParser<DCMCLLPDDJO> _parser = new MessageParser<DCMCLLPDDJO>(() => new DCMCLLPDDJO());

		// Token: 0x0400101D RID: 4125
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400101E RID: 4126
		public const int StateFieldNumber = 10;

		// Token: 0x0400101F RID: 4127
		private AlleyEventState state_;

		// Token: 0x04001020 RID: 4128
		public const int AGIENGEKNKLFieldNumber = 1;

		// Token: 0x04001021 RID: 4129
		private uint aGIENGEKNKL_;

		// Token: 0x04001022 RID: 4130
		public const int EventIdFieldNumber = 15;

		// Token: 0x04001023 RID: 4131
		private uint eventId_;
	}
}
